import { Component, OnInit } from '@angular/core';
import { CourseService } from 'src/app/services/course/course.service';
import { LocalStorageService } from 'src/app/services/local-storage/local-storage.service';

@Component({
  selector: 'app-home',
  templateUrl: './home.component.html',
  styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {
  token: string;

  constructor(
    private courseService: CourseService,
    private localStorage: LocalStorageService
  ) {}

  async ngOnInit() {
    console.log(await this.courseService.getListOfSelectedCourses());
  }
}
